package cn.faster.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
* <p>
    * 角色表
    *</p>
*
* @author xiaoCoder
* @date 2021-06-10
*/
@Data
@ApiModel(value = "角色表")
public class SysRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty("角色id")
    private Long id;

    @ApiModelProperty("角色名称")
    private String name;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty
    private Integer delFlag;

    @ApiModelProperty("菜单组")
    private List<SysMenu> menuList;



}